# $Id: PKGBUILD 65158 2012-02-20 05:26:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=emacs-w3m
pkgver=1.4.4
pkgrel=3
pkgdesc="w3m browser for emacs"
arch=('any')
url="http://emacs-w3m.namazu.org/"
license=('GPL')
depends=(emacs w3m)
install=w3m.install
source=(http://emacs-w3m.namazu.org/emacs-w3m-$pkgver.tar.gz)
md5sums=('6e592a9c0ab22fb532ebc3bcb21a45b1')

build() {
  cd $srcdir/emacs-w3m-$pkgver
  ./configure --prefix=/usr
  make
  make prefix=$pkgdir/usr install
  mv $pkgdir/usr/info $pkgdir/usr/share/
}
